﻿using HCQ2_Model.VR;
using HCQ2_Model.VRDD.InputDto._20220625;
using HCQ2_Model.VRDD.InputDto._20220704;
using HCQ2_Model.VRDD.InputDto._211217;
using HCQ2_Model.VRDD.OutputDto._20220625;
using HCQ2_Model.VRDD.OutputDto._20220704;
using HCQ2_Model.VRDD.OutputDto._211217;
using HCQ2_Model.VRQDMeta.InputDto._20220418;
using HCQ2_Model.VRQDMeta.OutputDto._20220418;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IDAL
{
    public partial interface IT_VRStayUserLogDAL
    {
        /// <summary>
        ///  获取楼宇入住日志
        /// </summary>
        /// <param name="file_id"></param>
        /// <param name="page"></param>
        /// <param name="rows"></param>
        /// <returns></returns>
        List<OutputBuildLog> GetBuildLogList(int file_id,int page,int rows, out int total);
        /// <summary>
        ///  添加入住日志返回数据
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        OutputSaveHouse GetBuildData(InputSaveHouse param);

        /// <summary>
        ///  获取楼层明细
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<FloorDetial> GetFloorDetialList(InputHouseInfo param);
        /// <summary>
        ///  获取商品明细
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<FileDetial> GetFileDetialList(InputHouseInfo param, int user_id);
        /// <summary>
        ///  获取商品图片明细
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<ImageDetial> GetImageDetial(InputHouseInfo param);
        /// <summary>
        ///  统计已入住用户数
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        int GetHouseSum(InputHouseInfo param);
        /// <summary>
        ///  获取入住用户所属目录及全部父目录
        /// </summary>
        /// <param name="folder_id"></param>
        /// <returns></returns>
        List<UserFolderDetial> GetUserFloderInfo(int folder_id);
        /// <summary>
        ///  获取入住用户所属目录及全部父目录
        /// </summary>
        /// <param name="folder_id"></param>
        /// <returns></returns>
        List<ParentFolder> GetFloderAndParent(int folder_id);
        /// <summary>
        ///  获取入住人用户所住商品信息
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        OutputUserHouseInfo GetUserHouseInfo(BaseVRAPI param);
        /// <summary>
        ///  获取用户住宅列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<OutputUserHouse> GetUserHouseList(InputUserHouse param,out int total);
        /// <summary>
        /// 获取用户住宅详情
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        OutputGetUserHouseDetail GetUserHouseDetail(InputGetUserHouseDetail param);
        /// <summary>
        /// 获取住宅详情
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        OutputGetHouseDetail GetHouseDetail(InputGetHouseDetail param);
        /// <summary>
        /// 返回入住人列表
        /// </summary>
        /// <param name="fileID"></param>
        /// <returns></returns>
        List<stays> stayList(int fileID);
    }
}